package com.njtoyo.taxi.admin.mapper.secondary.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;

public enum CacheDriverWorkingType {
    day(1, "日"),
    week(2, "周"),
    month(3, "月");

    @EnumValue
    private final int code;
    private final String desc;

    CacheDriverWorkingType(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public int getCode() {
        return code;
    }
}
